function [x1,y1,x2,y2]=fitt(Matrix,Ende)
coeffs=polyfit(Matrix(:,7),Matrix(:,8),1);
x1=0:min(Matrix(:,7));
y1=polyval(coeffs,x1);
x2=max(Matrix(:,7)):Ende;
y2=polyval(coeffs,x2);